function wh_del(html) {
    var th = html.parentNode;
    var tr = th.parentNode;
    var tds = tr.childNodes;
    var params = {
        "freq": tds[0].innerHTML
    }
    layer.open({
        title: '在线调试'
        , content: '确定要删除该频道？',
        btn: ['确定', '取消'],
        btn1: function () {
            axios
                .delete('/d/whitelist', {data: params})
                .then(function (response) {
                    console.log(response);
                    axios
                        .get('/d/whitelist')
                        .then(function (response) {
                            make_whpage(response.data.ListLength, response.data.whitelist);
                            layer.closeAll('dialog');
                        })
                })
                .catch(error => console.log(error))
        }
    });

}